Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Frame Manipulation Functions /


JMFrameMouseOver

Passes a mouse-over event to a frame.

OSStatus JMFrameMouseOver (
                     JMFrameRef frame, 
                     Point localPos, 
                     short modifiers);
frame
The frame containing the mouse. This should be the active frame.
localPos
The position of the mouse in frame coordinates.
modifiers
Any keyboard modifiers from the EventRecord structure. See Inside Macintosh: Macintosh Toolbox Essentials, for more information about the EventRecord data structure.
function result
A result code; see "JManager Result Codes".
DISCUSSION
To monitor the position of the mouse, you should call the JMFrameMouseOver and JMIdle functions each time through the event loop. Note that the client application must keep track of the currently active frame.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997